#ifndef XQAT_JSON_H
#define XQAT_JSON_H
#include <QDebug>
#include "QtCore"
struct initdata_json_t {                        /* struct setting json data */
    QString excel_path;                         /* Export excel file path */
    QString gf_path;                            /* Export .gf file path */
    QString name;                               /* Window name */
    QString backgroundImage;                    /* The background image*/
    QString backgroundImageOpacity;             /* The background image opacity 0~1 */
    QString font;                               /* The word font */
    QString font_color;                         /* The word font color */
    QString font_size;                          /* The word font size */
};

class xqat_json
{
public:
    xqat_json();

    void addjsondata(QString Path);                 /* add jsondata*/

    bool parsejsondata(QString Path, struct initdata_json_t *jsondata); /* parse jsondata*/

//    bool Create_Folder_jsondata(struct file_path_file_t *path);      /* Create Folder and jsondata*/
};

#endif // XQAT_JSON_H
